//
//  WmcVersionTemplateView.swift
//  YPWatermarkCamera
//
//  Created by 赵新 on 2022/7/5.
//

import UIKit

class WmcVersionTemplateView: WmcBaseWatermarkTemplateView {
    override func config() {
        super.config()
        defaultWidth = 300.wmc_autoHor

        titleLabel.text = "当前水印相机版本过低\n无法使用该水印"
        titleLabel.font = 40.yp.uiFont(weight: .bold)
        titleLabel.textAlignment = .center
        titleLabel.numberOfLines = 0
        titleLabel.adjustsFontSizeToFitWidth = true
        setShadow(titleLabel)
        addSubview(titleLabel)
    }

    override func configWatermarkModel(_ watermarkModel: WmcWatermarkDetailModel, styleMode: WmcBaseWatermarkTemplateView.StyleMode) {}

    override func makeConstraints() {
        titleLabel.snp.makeConstraints { make in
            make.edges.equalToSuperview()
        }
    }
}
